<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<h1>404 ERROR</h1>
${vengo}
<p>Redirigiendo a home en <cite id="tiempo">5</cite> </p>

<script>
var time = 4;

var interval = setInterval(contador,1000);
	
function contador(){
	if(time==0){
		clearInterval(interval);
		window.location='${pageContext.request.contextPath}'+'/inicio/home?id=vengo%20de%20404';		
		return;
	}
	document.getElementById('tiempo').innerHTML=''+time;
	
	time = time-1;
}

</script>